<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="operate.DictOperate,operate.vo.*"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>My JSP 'index.jsp' starting page</title>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<link rel="StyleSheet" href="<%=basePath%>form/css/dtree.css" type="text/css" />
		<script type="text/javascript" src="<%=basePath%>form/js/select.js"></script>
	</head>

	<body>
		<%
			String code = request.getParameter("code");
			String name=request.getParameter("name");
			List<Dict> dicts = DictOperate.getDictBycode(code);
			if (dicts != null) {
				for (Dict dict : dicts) {
		%>
		名称:<%=dict.getName()%>
		值：<%=dict.getValue()%>
		<br />
		<%
			}
			}
		%>

		<script type="text/javascript">
	         setDict('<%=code%>','<%=name%>');
	    </script>
	</body>
</html>
